package net.maku.events.service;

import net.maku.events.vo.ActivityTopVO;
import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.events.vo.ActivityKnowledgeContestVO;
import net.maku.events.query.ActivityKnowledgeContestQuery;
import net.maku.events.entity.ActivityKnowledgeContestEntity;

import java.util.List;

/**
 * 知识竞赛活动
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */
public interface ActivityKnowledgeContestService extends BaseService<ActivityKnowledgeContestEntity> {

    PageResult<ActivityKnowledgeContestVO> page(ActivityKnowledgeContestQuery query);

    void save(ActivityKnowledgeContestVO vo);

    void update(ActivityKnowledgeContestVO vo);

    void updateStatus(Long id, Integer status);

    void whetherTop(ActivityTopVO activityTopVO);

    void deleteDataByIdList(List<Long> idList);

    ActivityKnowledgeContestVO getInfoById(Long id);
}